package dao.domain;

import java.util.List;


/** 传递前后Hql 条件中的class条件,该类以class为单位,
 *  最终条件为  "( ( (prject.department like '%一分%') or (prject.department like '%网优%') ) and ( (prject.classByProsssion like '%移动通信%') or (prject.classByProsssion like '%数据交换%') ) "
	其中:
	 className = prject
	 operators = and / or  逻辑连接符
 * @author nsl
 *
 */




    /**
    * @ClassName: ConditionFilterClass
    * @Description: 接收前台传来的数据，组成ConditionFilterClass 对象，使用相应工具类以生成 筛选条件
    * 				
    * @author 宁少林
    * @date 2016年11月7日
    *
    */
public class ConditionFilterClass {

	private String className;
	
	private List<ConditionFilterField> fields;

	private List<String> fieldOperators;

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public List<ConditionFilterField> getFields() {
		return fields;
	}

	public void setFields(List<ConditionFilterField> fields) {
		this.fields = fields;
	}

	public List<String> getFieldOperators() {
		return fieldOperators;
	}

	public void setFieldOperators(List<String> fieldOperators) {
		this.fieldOperators = fieldOperators;
	}

	@Override
	public String toString() {
		return "FilterClass [className=" + className + ", fields=" + fields
				+ ", operators=" + fieldOperators + "]";
	}
}
